﻿@{Layout = null;}
@model Benefit.ViewModel.SystemVersion
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
    <title>交易员分析系统</title>
    <link rel="stylesheet" type="text/css" href="/Content/style/login.css" />
    <script type="text/javascript" src="/scripts/jquery-1.5.1.min.js"></script>
</head>
<body>
    <div class="block">
        <p>
            &nbsp;</p>
    </div>
    <div class="banner">
        <p>
            &nbsp;</p>
    </div>
    <div class="content" align="center">
        <form action="" method="post" id="loginform">
        <div class="smallblock">
        </div>
        <div class="logintable" style="background-repeat: no-repeat;">
            <div class="smallblock">
            </div>
            <div class="smallblock" style="text-align: left; color: #295a9f;">
                <div>
                    <div style="padding-left: 40px; padding-top: 13px; font-size: 8pt;">
                        交易员分析系统 <small>Bate</small>
                    </div>
                </div>
            </div>
            <div class="smallblock" style="height: 40px; _height: 0px;">
            </div>
            <div class="contentbox" style="text-align: left; vertical-align: middle;">
                <div style="padding-left: 60px;">
                    <div style="padding-right: 10px; width: 50px; float: left; vertical-align: middle;
                        height: 20px; line-height: 20px;">
                        用户名:</div>
                    <input type="text" name="pUserName" id="pUserName" class="inputbox" style="vertical-align: middle;" />
                </div>
            </div>
            <div class="verysmallblock">
            </div>
            <div class="contentbox" style="text-align: left;">
                <div style="padding-left: 60px;">
                    <div style="padding-right: 10px; width: 50px; float: left; height: 20px; line-height: 20px;
                        vertical-align: middle;">
                        密码:</div>
                    <input type="password" name="pPassword" id="pPassword" class="inputbox" style="vertical-align: middle;" /></div>
            </div>
            <div class="veryverysmallblock">
            </div>
            <div class="buttonbox">
                <div class="links">
                    <div class="button" onclick="javascript:document.getElementById('loginform').submit();"
                        style="float: left;">
                        <div style="padding-left: 10px; padding-right: 10px;">
                            登陆系统</div>
                    </div>
                    <div class="button" style="float: left;">
                        <div style="padding-left: 10px;">
                            退出系统</div>
                    </div>
                </div>
            </div>
        </div>
        </form>
    </div>
    <div style="width: 100%; text-align: right; color: Gray;">
        Version: @Model.Version
    </div>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#pUserName").focus();
            $("#pPassword").keydown(function (event) {
                if (event.which == 13) {
                    $("#loginform").submit();
                }
            });
            $("#pUserName").keydown(function (event) {
                if (event.which == 13) {
                    $("#loginform").submit();
                }
            });
        });
        
    </script>
</body>
</html>
